import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    //菜单列表
    menuList: [
      {
        key: 'user',
        name: '用户管理',
        iconUrl: '',
        children: [{
          key: 'userList',
          name: '用户列表',
          iconUrl: ''
        },{
          key: 'vipList',
          name: '会员等级',
          iconUrl: ''
        }]
      },
      {
        key: 'shop',
        name: '商品管理',
        iconUrl: '',
        children: [

          {
            key: 'shopList',
            name: '商品列表',
            iconUrl: ''
          },{
            key: 'shopClassific',
            name: '商品分类',
            iconUrl: ''
          }
        ]
      },
      {
        key: 'order',
        name: '订单管理',
        iconUrl: '',
        children: [

          {
            key: 'orderList',
            name: '订单列表',
            iconUrl: ''
          }
        ]
      },
      {
        key: 'operation',
        name: '运营管理',
        iconUrl: '',
        children: [

          {
            key: 'activityManagement',
            name: '公告管理',
            iconUrl: ''
          },
          {
            key: 'noticeList',
            name: '帮助中心',
            iconUrl: ''
          }
        ]
      },
      {
        key: 'system',
        name: '系统管理',
        iconUrl: '',
        children: [
          {
            key: 'authorityManagement',
            name: '角色管理',
            iconUrl: ''
          }, {
            key: 'staffManagement',
            name: '员工管理',
            iconUrl: ''
          }
        ]
      }
    ],
    userInfo: {
      userInfo: {
        id: "",
        username: "",
        realname: "",
        avatar: "",
        phone: "",
        email: "",
        roleId: "",
        roleName: ""
      },
      loginTime: "",
      token: ""

    },
    areaData: [
      {
        name: '黑龙江省',
        leaf: false,
        id: 1,
        children: [
          {
            name: '七台河市',
            leaf: true,
            id: 35,
            children: []
          },
          {
            name: '鹤岗市',
            leaf: true,
            id: 36,
            children: []
          },
          {
            name: '伊春市',
            leaf: true,
            id: 37,
            children: []
          },
          {
            name: '大兴安岭地区',
            leaf: true,
            id: 38,
            children: []
          },
          {
            name: '绥化市',
            leaf: true,
            id: 39,
            children: []
          },
          {
            name: '哈尔滨市',
            leaf: true,
            id: 40,
            children: []
          },
          {
            name: '齐齐哈尔市',
            leaf: true,
            id: 41,
            children: []
          },
          {
            name: '黑河市',
            leaf: true,
            id: 42,
            children: []
          },
          {
            name: '牡丹江市',
            leaf: true,
            id: 43,
            children: []
          },
          {
            name: '鸡西市',
            leaf: true,
            id: 44,
            children: []
          },
          {
            name: '佳木斯市',
            leaf: true,
            id: 45,
            children: []
          },
          {
            name: '大庆市',
            leaf: true,
            id: 46,
            children: []
          },
          {
            name: '双鸭山市',
            leaf: true,
            id: 47,
            children: []
          }
        ]
      },
      {
        name: '广东省',
        leaf: false,
        id: 2,
        children: [
          {
            name: '汕头市',
            leaf: true,
            id: 48,
            children: []
          },
          {
            name: '佛山市',
            leaf: true,
            id: 49,
            children: []
          },
          {
            name: '肇庆市',
            leaf: true,
            id: 50,
            children: []
          },
          {
            name: '惠州市',
            leaf: true,
            id: 51,
            children: []
          },
          {
            name: '深圳市',
            leaf: true,
            id: 52,
            children: []
          },
          {
            name: '湛江市',
            leaf: true,
            id: 53,
            children: []
          },
          {
            name: '珠海市',
            leaf: true,
            id: 54,
            children: []
          },
          {
            name: '潮州市',
            leaf: true,
            id: 55,
            children: []
          },
          {
            name: '茂名市',
            leaf: true,
            id: 56,
            children: []
          },
          {
            name: '江门市',
            leaf: true,
            id: 57,
            children: []
          },
          {
            name: '河源市',
            leaf: true,
            id: 58,
            children: []
          },
          {
            name: '云浮市',
            leaf: true,
            id: 59,
            children: []
          },
          {
            name: '汕尾市',
            leaf: true,
            id: 60,
            children: []
          },
          {
            name: '阳江市',
            leaf: true,
            id: 61,
            children: []
          },
          {
            name: '揭阳市',
            leaf: true,
            id: 62,
            children: []
          },
          {
            name: '梅州市',
            leaf: true,
            id: 63,
            children: []
          },
          {
            name: '广州市',
            leaf: true,
            id: 64,
            children: []
          },
          {
            name: '韶关市',
            leaf: true,
            id: 65,
            children: []
          },
          {
            name: '清远市',
            leaf: true,
            id: 66,
            children: []
          },
          {
            name: '中山市',
            leaf: true,
            id: 67,
            children: []
          },
          {
            name: '东莞市',
            leaf: true,
            id: 68,
            children: []
          }
        ]
      },
      {
        name: '河南省',
        leaf: false,
        id: 3,
        children: [
          {
            name: '洛阳市',
            leaf: true,
            id: 69,
            children: []
          },
          {
            name: '三门峡市',
            leaf: true,
            id: 70,
            children: []
          },
          {
            name: '漯河市',
            leaf: true,
            id: 71,
            children: []
          },
          {
            name: '许昌市',
            leaf: true,
            id: 72,
            children: []
          },
          {
            name: '南阳市',
            leaf: true,
            id: 73,
            children: []
          },
          {
            name: '信阳市',
            leaf: true,
            id: 74,
            children: []
          },
          {
            name: '济源市',
            leaf: true,
            id: 75,
            children: []
          },
          {
            name: '驻马店市',
            leaf: true,
            id: 76,
            children: []
          },
          {
            name: '濮阳市',
            leaf: true,
            id: 77,
            children: []
          },
          {
            name: '焦作市',
            leaf: true,
            id: 78,
            children: []
          },
          {
            name: '郑州市',
            leaf: true,
            id: 79,
            children: []
          },
          {
            name: '安阳市',
            leaf: true,
            id: 80,
            children: []
          },
          {
            name: '新乡市',
            leaf: true,
            id: 81,
            children: []
          },
          {
            name: '鹤壁市',
            leaf: true,
            id: 82,
            children: []
          },
          {
            name: '开封市',
            leaf: true,
            id: 83,
            children: []
          },
          {
            name: '周口市',
            leaf: true,
            id: 84,
            children: []
          },
          {
            name: '平顶山市',
            leaf: true,
            id: 85,
            children: []
          },
          {
            name: '商丘市',
            leaf: true,
            id: 86,
            children: []
          }
        ]
      },
      {
        name: '内蒙古自治区',
        leaf: false,
        id: 4,
        children: [
          {
            name: '鄂尔多斯市',
            leaf: true,
            id: 87,
            children: []
          },
          {
            name: '包头市',
            leaf: true,
            id: 88,
            children: []
          },
          {
            name: '巴彦淖尔市',
            leaf: true,
            id: 89,
            children: []
          },
          {
            name: '乌海市',
            leaf: true,
            id: 90,
            children: []
          },
          {
            name: '呼伦贝尔市',
            leaf: true,
            id: 91,
            children: []
          },
          {
            name: '阿拉善盟',
            leaf: true,
            id: 92,
            children: []
          },
          {
            name: '通辽市',
            leaf: true,
            id: 93,
            children: []
          },
          {
            name: '兴安盟',
            leaf: true,
            id: 94,
            children: []
          },
          {
            name: '锡林郭勒盟',
            leaf: true,
            id: 95,
            children: []
          },
          {
            name: '呼和浩特市',
            leaf: true,
            id: 96,
            children: []
          },
          {
            name: '赤峰市',
            leaf: true,
            id: 97,
            children: []
          },
          {
            name: '乌兰察布市',
            leaf: true,
            id: 98,
            children: []
          }
        ]
      },
      {
        name: '新疆维吾尔自治区',
        leaf: false,
        id: 5,
        children: [
          {
            name: '双河市',
            leaf: true,
            id: 99,
            children: []
          },
          {
            name: '北屯市',
            leaf: true,
            id: 100,
            children: []
          },
          {
            name: '博尔塔拉蒙古自治州',
            leaf: true,
            id: 101,
            children: []
          },
          {
            name: '铁门关市',
            leaf: true,
            id: 102,
            children: []
          },
          {
            name: '可克达拉市',
            leaf: true,
            id: 103,
            children: []
          },
          {
            name: '乌鲁木齐市',
            leaf: true,
            id: 104,
            children: []
          },
          {
            name: '昆玉市',
            leaf: true,
            id: 105,
            children: []
          },
          {
            name: '巴音郭楞蒙古自治州',
            leaf: true,
            id: 106,
            children: []
          },
          {
            name: '和田地区',
            leaf: true,
            id: 107,
            children: []
          },
          {
            name: '塔城地区',
            leaf: true,
            id: 108,
            children: []
          },
          {
            name: '阿勒泰地区',
            leaf: true,
            id: 109,
            children: []
          },
          {
            name: '昌吉回族自治州',
            leaf: true,
            id: 110,
            children: []
          },
          {
            name: '石河子市',
            leaf: true,
            id: 111,
            children: []
          },
          {
            name: '五家渠市',
            leaf: true,
            id: 112,
            children: []
          },
          {
            name: '伊犁哈萨克自治州',
            leaf: true,
            id: 113,
            children: []
          },
          {
            name: '阿拉尔市',
            leaf: true,
            id: 114,
            children: []
          },
          {
            name: '吐鲁番市',
            leaf: true,
            id: 115,
            children: []
          },
          {
            name: '喀什地区',
            leaf: true,
            id: 116,
            children: []
          },
          {
            name: '哈密市',
            leaf: true,
            id: 117,
            children: []
          },
          {
            name: '图木舒克市',
            leaf: true,
            id: 118,
            children: []
          },
          {
            name: '克孜勒苏柯尔克孜自治州',
            leaf: true,
            id: 119,
            children: []
          },
          {
            name: '阿克苏地区',
            leaf: true,
            id: 120,
            children: []
          },
          {
            name: '克拉玛依市',
            leaf: true,
            id: 121,
            children: []
          },
          {
            name: '胡杨河市',
            leaf: true,
            id: 122,
            children: []
          }
        ]
      },
      {
        name: '辽宁省',
        leaf: false,
        id: 6,
        children: [
          {
            name: '锦州市',
            leaf: true,
            id: 123,
            children: []
          },
          {
            name: '大连市',
            leaf: true,
            id: 124,
            children: []
          },
          {
            name: '丹东市',
            leaf: true,
            id: 125,
            children: []
          },
          {
            name: '抚顺市',
            leaf: true,
            id: 126,
            children: []
          },
          {
            name: '葫芦岛市',
            leaf: true,
            id: 127,
            children: []
          },
          {
            name: '铁岭市',
            leaf: true,
            id: 128,
            children: []
          },
          {
            name: '沈阳市',
            leaf: true,
            id: 129,
            children: []
          },
          {
            name: '营口市',
            leaf: true,
            id: 130,
            children: []
          },
          {
            name: '盘锦市',
            leaf: true,
            id: 131,
            children: []
          },
          {
            name: '阜新市',
            leaf: true,
            id: 132,
            children: []
          },
          {
            name: '本溪市',
            leaf: true,
            id: 133,
            children: []
          },
          {
            name: '辽阳市',
            leaf: true,
            id: 134,
            children: []
          },
          {
            name: '鞍山市',
            leaf: true,
            id: 135,
            children: []
          },
          {
            name: '朝阳市',
            leaf: true,
            id: 136,
            children: []
          }
        ]
      },
      {
        name: '湖北省',
        leaf: false,
        id: 7,
        children: [
          {
            name: '十堰市',
            leaf: true,
            id: 137,
            children: []
          },
          {
            name: '襄阳市',
            leaf: true,
            id: 138,
            children: []
          },
          {
            name: '宜昌市',
            leaf: true,
            id: 139,
            children: []
          },
          {
            name: '荆门市',
            leaf: true,
            id: 140,
            children: []
          },
          {
            name: '黄冈市',
            leaf: true,
            id: 141,
            children: []
          },
          {
            name: '天门市',
            leaf: true,
            id: 142,
            children: []
          },
          {
            name: '孝感市',
            leaf: true,
            id: 143,
            children: []
          },
          {
            name: '潜江市',
            leaf: true,
            id: 144,
            children: []
          },
          {
            name: '恩施土家族苗族自治州',
            leaf: true,
            id: 145,
            children: []
          },
          {
            name: '武汉市',
            leaf: true,
            id: 146,
            children: []
          },
          {
            name: '仙桃市',
            leaf: true,
            id: 147,
            children: []
          },
          {
            name: '荆州市',
            leaf: true,
            id: 148,
            children: []
          },
          {
            name: '随州市',
            leaf: true,
            id: 149,
            children: []
          },
          {
            name: '神农架林区',
            leaf: true,
            id: 150,
            children: []
          },
          {
            name: '咸宁市',
            leaf: true,
            id: 151,
            children: []
          },
          {
            name: '鄂州市',
            leaf: true,
            id: 152,
            children: []
          },
          {
            name: '黄石市',
            leaf: true,
            id: 153,
            children: []
          }
        ]
      },
      {
        name: '陕西省',
        leaf: false,
        id: 8,
        children: [
          {
            name: '商洛市',
            leaf: true,
            id: 154,
            children: []
          },
          {
            name: '铜川市',
            leaf: true,
            id: 155,
            children: []
          },
          {
            name: '西安市',
            leaf: true,
            id: 156,
            children: []
          },
          {
            name: '汉中市',
            leaf: true,
            id: 157,
            children: []
          },
          {
            name: '榆林市',
            leaf: true,
            id: 158,
            children: []
          },
          {
            name: '延安市',
            leaf: true,
            id: 159,
            children: []
          },
          {
            name: '宝鸡市',
            leaf: true,
            id: 160,
            children: []
          },
          {
            name: '渭南市',
            leaf: true,
            id: 161,
            children: []
          },
          {
            name: '咸阳市',
            leaf: true,
            id: 162,
            children: []
          },
          {
            name: '安康市',
            leaf: true,
            id: 163,
            children: []
          }
        ]
      },
      {
        name: '贵州省',
        leaf: false,
        id: 9,
        children: [
          {
            name: '六盘水市',
            leaf: true,
            id: 164,
            children: []
          },
          {
            name: '铜仁市',
            leaf: true,
            id: 165,
            children: []
          },
          {
            name: '遵义市',
            leaf: true,
            id: 166,
            children: []
          },
          {
            name: '安顺市',
            leaf: true,
            id: 167,
            children: []
          },
          {
            name: '黔南布依族苗族自治州',
            leaf: true,
            id: 168,
            children: []
          },
          {
            name: '毕节市',
            leaf: true,
            id: 169,
            children: []
          },
          {
            name: '黔东南苗族侗族自治州',
            leaf: true,
            id: 170,
            children: []
          },
          {
            name: '黔西南布依族苗族自治州',
            leaf: true,
            id: 171,
            children: []
          },
          {
            name: '贵阳市',
            leaf: true,
            id: 172,
            children: []
          }
        ]
      },
      {
        name: '上海市',
        leaf: true,
        id: 10,
        children: [
        ]
      },
      {
        name: '山东省',
        leaf: false,
        id: 11,
        children: [
          {
            name: '聊城市',
            leaf: true,
            id: 174,
            children: []
          },
          {
            name: '淄博市',
            leaf: true,
            id: 175,
            children: []
          },
          {
            name: '临沂市',
            leaf: true,
            id: 176,
            children: []
          },
          {
            name: '青岛市',
            leaf: true,
            id: 177,
            children: []
          },
          {
            name: '威海市',
            leaf: true,
            id: 178,
            children: []
          },
          {
            name: '烟台市',
            leaf: true,
            id: 179,
            children: []
          },
          {
            name: '潍坊市',
            leaf: true,
            id: 180,
            children: []
          },
          {
            name: '东营市',
            leaf: true,
            id: 181,
            children: []
          },
          {
            name: '滨州市',
            leaf: true,
            id: 182,
            children: []
          },
          {
            name: '日照市',
            leaf: true,
            id: 183,
            children: []
          },
          {
            name: '枣庄市',
            leaf: true,
            id: 184,
            children: []
          },
          {
            name: '德州市',
            leaf: true,
            id: 185,
            children: []
          },
          {
            name: '济南市',
            leaf: true,
            id: 186,
            children: []
          },
          {
            name: '菏泽市',
            leaf: true,
            id: 187,
            children: []
          },
          {
            name: '泰安市',
            leaf: true,
            id: 188,
            children: []
          },
          {
            name: '济宁市',
            leaf: true,
            id: 189,
            children: []
          }
        ]
      },
      {
        name: '安徽省',
        leaf: false,
        id: 12,
        children: [
          {
            name: '淮北市',
            leaf: true,
            id: 190,
            children: []
          },
          {
            name: '铜陵市',
            leaf: true,
            id: 191,
            children: []
          },
          {
            name: '安庆市',
            leaf: true,
            id: 192,
            children: []
          },
          {
            name: '池州市',
            leaf: true,
            id: 193,
            children: []
          },
          {
            name: '马鞍山市',
            leaf: true,
            id: 194,
            children: []
          },
          {
            name: '阜阳市',
            leaf: true,
            id: 195,
            children: []
          },
          {
            name: '黄山市',
            leaf: true,
            id: 196,
            children: []
          },
          {
            name: '六安市',
            leaf: true,
            id: 197,
            children: []
          },
          {
            name: '淮南市',
            leaf: true,
            id: 198,
            children: []
          },
          {
            name: '蚌埠市',
            leaf: true,
            id: 199,
            children: []
          },
          {
            name: '芜湖市',
            leaf: true,
            id: 200,
            children: []
          },
          {
            name: '滁州市',
            leaf: true,
            id: 201,
            children: []
          },
          {
            name: '合肥市',
            leaf: true,
            id: 202,
            children: []
          },
          {
            name: '宣城市',
            leaf: true,
            id: 203,
            children: []
          },
          {
            name: '亳州市',
            leaf: true,
            id: 204,
            children: []
          },
          {
            name: '宿州市',
            leaf: true,
            id: 205,
            children: []
          }
        ]
      },
      {
        name: '重庆市',
        leaf: true,
        id: 13,
        children: [
        ]
      },
      {
        name: '西藏自治区',
        leaf: false,
        id: 14,
        children: [
          {
            name: '日喀则市',
            leaf: true,
            id: 208,
            children: []
          },
          {
            name: '山南市',
            leaf: true,
            id: 209,
            children: []
          },
          {
            name: '那曲市',
            leaf: true,
            id: 210,
            children: []
          },
          {
            name: '昌都市',
            leaf: true,
            id: 211,
            children: []
          },
          {
            name: '拉萨市',
            leaf: true,
            id: 212,
            children: []
          },
          {
            name: '林芝市',
            leaf: true,
            id: 213,
            children: []
          },
          {
            name: '阿里地区',
            leaf: true,
            id: 214,
            children: []
          }
        ]
      },
      {
        name: '湖南省',
        leaf: false,
        id: 15,
        children: [
          {
            name: '岳阳市',
            leaf: true,
            id: 215,
            children: []
          },
          {
            name: '益阳市',
            leaf: true,
            id: 216,
            children: []
          },
          {
            name: '衡阳市',
            leaf: true,
            id: 217,
            children: []
          },
          {
            name: '娄底市',
            leaf: true,
            id: 218,
            children: []
          },
          {
            name: '常德市',
            leaf: true,
            id: 219,
            children: []
          },
          {
            name: '张家界市',
            leaf: true,
            id: 220,
            children: []
          },
          {
            name: '怀化市',
            leaf: true,
            id: 221,
            children: []
          },
          {
            name: '湘西土家族苗族自治州',
            leaf: true,
            id: 222,
            children: []
          },
          {
            name: '长沙市',
            leaf: true,
            id: 223,
            children: []
          },
          {
            name: '湘潭市',
            leaf: true,
            id: 224,
            children: []
          },
          {
            name: '株洲市',
            leaf: true,
            id: 225,
            children: []
          },
          {
            name: '邵阳市',
            leaf: true,
            id: 226,
            children: []
          },
          {
            name: '郴州市',
            leaf: true,
            id: 227,
            children: []
          },
          {
            name: '永州市',
            leaf: true,
            id: 228,
            children: []
          }
        ]
      },
      {
        name: '海南省',
        leaf: false,
        id: 16,
        children: [
          {
            name: '东方市',
            leaf: true,
            id: 229,
            children: []
          },
          {
            name: '屯昌县',
            leaf: true,
            id: 230,
            children: []
          },
          {
            name: '万宁市',
            leaf: true,
            id: 231,
            children: []
          },
          {
            name: '临高县',
            leaf: true,
            id: 232,
            children: []
          },
          {
            name: '昌江黎族自治县',
            leaf: true,
            id: 233,
            children: []
          },
          {
            name: '定安县',
            leaf: true,
            id: 234,
            children: []
          },
          {
            name: '白沙黎族自治县',
            leaf: true,
            id: 235,
            children: []
          },
          {
            name: '琼海市',
            leaf: true,
            id: 236,
            children: []
          },
          {
            name: '琼中黎族苗族自治县',
            leaf: true,
            id: 237,
            children: []
          },
          {
            name: '儋州市',
            leaf: true,
            id: 238,
            children: []
          },
          {
            name: '乐东黎族自治县',
            leaf: true,
            id: 239,
            children: []
          },
          {
            name: '澄迈县',
            leaf: true,
            id: 240,
            children: []
          },
          {
            name: '三亚市',
            leaf: true,
            id: 241,
            children: []
          },
          {
            name: '陵水黎族自治县',
            leaf: true,
            id: 242,
            children: []
          },
          {
            name: '文昌市',
            leaf: true,
            id: 243,
            children: []
          },
          {
            name: '三沙市',
            leaf: true,
            id: 244,
            children: []
          },
          {
            name: '海口市',
            leaf: true,
            id: 245,
            children: []
          },
          {
            name: '保亭黎族苗族自治县',
            leaf: true,
            id: 246,
            children: []
          },
          {
            name: '五指山市',
            leaf: true,
            id: 247,
            children: []
          }
        ]
      },
      {
        name: '青海省',
        leaf: false,
        id: 17,
        children: [
          {
            name: '果洛藏族自治州',
            leaf: true,
            id: 248,
            children: []
          },
          {
            name: '海南藏族自治州',
            leaf: true,
            id: 249,
            children: []
          },
          {
            name: '玉树藏族自治州',
            leaf: true,
            id: 250,
            children: []
          },
          {
            name: '黄南藏族自治州',
            leaf: true,
            id: 251,
            children: []
          },
          {
            name: '海西蒙古族藏族自治州',
            leaf: true,
            id: 252,
            children: []
          },
          {
            name: '海东市',
            leaf: true,
            id: 253,
            children: []
          },
          {
            name: '西宁市',
            leaf: true,
            id: 254,
            children: []
          },
          {
            name: '海北藏族自治州',
            leaf: true,
            id: 255,
            children: []
          }
        ]
      },
      {
        name: '福建省',
        leaf: false,
        id: 18,
        children: [
          {
            name: '宁德市',
            leaf: true,
            id: 256,
            children: []
          },
          {
            name: '南平市',
            leaf: true,
            id: 257,
            children: []
          },
          {
            name: '莆田市',
            leaf: true,
            id: 258,
            children: []
          },
          {
            name: '龙岩市',
            leaf: true,
            id: 259,
            children: []
          },
          {
            name: '福州市',
            leaf: true,
            id: 260,
            children: []
          },
          {
            name: '三明市',
            leaf: true,
            id: 261,
            children: []
          },
          {
            name: '泉州市',
            leaf: true,
            id: 262,
            children: []
          },
          {
            name: '厦门市',
            leaf: true,
            id: 263,
            children: []
          },
          {
            name: '漳州市',
            leaf: true,
            id: 264,
            children: []
          }
        ]
      },
      {
        name: '宁夏回族自治区',
        leaf: false,
        id: 19,
        children: [
          {
            name: '石嘴山市',
            leaf: true,
            id: 265,
            children: []
          },
          {
            name: '中卫市',
            leaf: true,
            id: 266,
            children: []
          },
          {
            name: '固原市',
            leaf: true,
            id: 267,
            children: []
          },
          {
            name: '银川市',
            leaf: true,
            id: 268,
            children: []
          },
          {
            name: '吴忠市',
            leaf: true,
            id: 269,
            children: []
          }
        ]
      },
      {
        name: '广西壮族自治区',
        leaf: false,
        id: 20,
        children: [
          {
            name: '百色市',
            leaf: true,
            id: 270,
            children: []
          },
          {
            name: '北海市',
            leaf: true,
            id: 271,
            children: []
          },
          {
            name: '钦州市',
            leaf: true,
            id: 272,
            children: []
          },
          {
            name: '柳州市',
            leaf: true,
            id: 273,
            children: []
          },
          {
            name: '来宾市',
            leaf: true,
            id: 274,
            children: []
          },
          {
            name: '南宁市',
            leaf: true,
            id: 275,
            children: []
          },
          {
            name: '梧州市',
            leaf: true,
            id: 276,
            children: []
          },
          {
            name: '桂林市',
            leaf: true,
            id: 277,
            children: []
          },
          {
            name: '崇左市',
            leaf: true,
            id: 278,
            children: []
          },
          {
            name: '防城港市',
            leaf: true,
            id: 279,
            children: []
          },
          {
            name: '贺州市',
            leaf: true,
            id: 280,
            children: []
          },
          {
            name: '玉林市',
            leaf: true,
            id: 281,
            children: []
          },
          {
            name: '贵港市',
            leaf: true,
            id: 282,
            children: []
          },
          {
            name: '河池市',
            leaf: true,
            id: 283,
            children: []
          }
        ]
      },
      {
        name: '江苏省',
        leaf: false,
        id: 21,
        children: [
          {
            name: '连云港市',
            leaf: true,
            id: 284,
            children: []
          },
          {
            name: '宿迁市',
            leaf: true,
            id: 285,
            children: []
          },
          {
            name: '南京市',
            leaf: true,
            id: 286,
            children: []
          },
          {
            name: '南通市',
            leaf: true,
            id: 287,
            children: []
          },
          {
            name: '淮安市',
            leaf: true,
            id: 288,
            children: []
          },
          {
            name: '扬州市',
            leaf: true,
            id: 289,
            children: []
          },
          {
            name: '泰州市',
            leaf: true,
            id: 290,
            children: []
          },
          {
            name: '盐城市',
            leaf: true,
            id: 291,
            children: []
          },
          {
            name: '镇江市',
            leaf: true,
            id: 292,
            children: []
          },
          {
            name: '苏州市',
            leaf: true,
            id: 293,
            children: []
          },
          {
            name: '无锡市',
            leaf: true,
            id: 294,
            children: []
          },
          {
            name: '常州市',
            leaf: true,
            id: 295,
            children: []
          },
          {
            name: '徐州市',
            leaf: true,
            id: 296,
            children: []
          }
        ]
      },
      {
        name: '浙江省',
        leaf: false,
        id: 22,
        children: [
          {
            name: '舟山市',
            leaf: true,
            id: 297,
            children: []
          },
          {
            name: '嘉兴市',
            leaf: true,
            id: 298,
            children: []
          },
          {
            name: '温州市',
            leaf: true,
            id: 299,
            children: []
          },
          {
            name: '台州市',
            leaf: true,
            id: 300,
            children: []
          },
          {
            name: '宁波市',
            leaf: true,
            id: 301,
            children: []
          },
          {
            name: '丽水市',
            leaf: true,
            id: 302,
            children: []
          },
          {
            name: '湖州市',
            leaf: true,
            id: 303,
            children: []
          },
          {
            name: '衢州市',
            leaf: true,
            id: 304,
            children: []
          },
          {
            name: '杭州市',
            leaf: true,
            id: 305,
            children: []
          },
          {
            name: '金华市',
            leaf: true,
            id: 306,
            children: []
          },
          {
            name: '绍兴市',
            leaf: true,
            id: 307,
            children: []
          }
        ]
      },
      {
        name: '江西省',
        leaf: false,
        id: 23,
        children: [
          {
            name: '抚州市',
            leaf: true,
            id: 308,
            children: []
          },
          {
            name: '九江市',
            leaf: true,
            id: 309,
            children: []
          },
          {
            name: '赣州市',
            leaf: true,
            id: 310,
            children: []
          },
          {
            name: '鹰潭市',
            leaf: true,
            id: 311,
            children: []
          },
          {
            name: '景德镇市',
            leaf: true,
            id: 312,
            children: []
          },
          {
            name: '上饶市',
            leaf: true,
            id: 313,
            children: []
          },
          {
            name: '萍乡市',
            leaf: true,
            id: 314,
            children: []
          },
          {
            name: '宜春市',
            leaf: true,
            id: 315,
            children: []
          },
          {
            name: '南昌市',
            leaf: true,
            id: 316,
            children: []
          },
          {
            name: '吉安市',
            leaf: true,
            id: 317,
            children: []
          },
          {
            name: '新余市',
            leaf: true,
            id: 318,
            children: []
          }
        ]
      },
      {
        name: '台湾省',
        leaf: false,
        id: 24,
        children: []
      },
      {
        name: '河北省',
        leaf: false,
        id: 25,
        children: [
          {
            name: '唐山市',
            leaf: true,
            id: 319,
            children: []
          },
          {
            name: '廊坊市',
            leaf: true,
            id: 320,
            children: []
          },
          {
            name: '秦皇岛市',
            leaf: true,
            id: 321,
            children: []
          },
          {
            name: '张家口市',
            leaf: true,
            id: 322,
            children: []
          },
          {
            name: '沧州市',
            leaf: true,
            id: 323,
            children: []
          },
          {
            name: '邯郸市',
            leaf: true,
            id: 324,
            children: []
          },
          {
            name: '邢台市',
            leaf: true,
            id: 325,
            children: []
          },
          {
            name: '石家庄市',
            leaf: true,
            id: 326,
            children: []
          },
          {
            name: '衡水市',
            leaf: true,
            id: 327,
            children: []
          },
          {
            name: '保定市',
            leaf: true,
            id: 328,
            children: []
          },
          {
            name: '承德市',
            leaf: true,
            id: 329,
            children: []
          }
        ]
      },
      {
        name: '香港特别行政区',
        leaf: false,
        id: 26,
        children: [
          {
            name: '沙田区',
            leaf: true,
            id: 330,
            children: []
          },
          {
            name: '油尖旺区',
            leaf: true,
            id: 331,
            children: []
          },
          {
            name: '观塘区',
            leaf: true,
            id: 332,
            children: []
          },
          {
            name: '屯门区',
            leaf: true,
            id: 333,
            children: []
          },
          {
            name: '大埔区',
            leaf: true,
            id: 334,
            children: []
          },
          {
            name: '南区',
            leaf: true,
            id: 335,
            children: []
          },
          {
            name: '九龙城区',
            leaf: true,
            id: 336,
            children: []
          },
          {
            name: '西贡区',
            leaf: true,
            id: 337,
            children: []
          },
          {
            name: '深水埗区',
            leaf: true,
            id: 338,
            children: []
          },
          {
            name: '黄大仙区',
            leaf: true,
            id: 339,
            children: []
          },
          {
            name: '中西区',
            leaf: true,
            id: 340,
            children: []
          },
          {
            name: '北区',
            leaf: true,
            id: 341,
            children: []
          },
          {
            name: '元朗区',
            leaf: true,
            id: 342,
            children: []
          },
          {
            name: '湾仔区',
            leaf: true,
            id: 343,
            children: []
          },
          {
            name: '离岛区',
            leaf: true,
            id: 344,
            children: []
          },
          {
            name: '东区',
            leaf: true,
            id: 345,
            children: []
          },
          {
            name: '荃湾区',
            leaf: true,
            id: 346,
            children: []
          },
          {
            name: '葵青区',
            leaf: true,
            id: 347,
            children: []
          }
        ]
      },
      {
        name: '澳门特别行政区',
        leaf: false,
        id: 27,
        children: [
          {
            name: '花地玛堂区',
            leaf: true,
            id: 348,
            children: []
          },
          {
            name: '路凼填海区',
            leaf: true,
            id: 349,
            children: []
          },
          {
            name: '望德堂区',
            leaf: true,
            id: 350,
            children: []
          },
          {
            name: '花王堂区',
            leaf: true,
            id: 351,
            children: []
          },
          {
            name: '大堂区',
            leaf: true,
            id: 352,
            children: []
          },
          {
            name: '圣方济各堂区',
            leaf: true,
            id: 353,
            children: []
          },
          {
            name: '嘉模堂区',
            leaf: true,
            id: 354,
            children: []
          },
          {
            name: '风顺堂区',
            leaf: true,
            id: 355,
            children: []
          }
        ]
      },
      {
        name: '甘肃省',
        leaf: false,
        id: 28,
        children: [
          {
            name: '金昌市',
            leaf: true,
            id: 356,
            children: []
          },
          {
            name: '白银市',
            leaf: true,
            id: 357,
            children: []
          },
          {
            name: '酒泉市',
            leaf: true,
            id: 358,
            children: []
          },
          {
            name: '陇南市',
            leaf: true,
            id: 359,
            children: []
          },
          {
            name: '平凉市',
            leaf: true,
            id: 360,
            children: []
          },
          {
            name: '武威市',
            leaf: true,
            id: 361,
            children: []
          },
          {
            name: '兰州市',
            leaf: true,
            id: 362,
            children: []
          },
          {
            name: '嘉峪关市',
            leaf: true,
            id: 363,
            children: []
          },
          {
            name: '甘南藏族自治州',
            leaf: true,
            id: 364,
            children: []
          },
          {
            name: '临夏回族自治州',
            leaf: true,
            id: 365,
            children: []
          },
          {
            name: '张掖市',
            leaf: true,
            id: 366,
            children: []
          },
          {
            name: '庆阳市',
            leaf: true,
            id: 367,
            children: []
          },
          {
            name: '定西市',
            leaf: true,
            id: 368,
            children: []
          },
          {
            name: '天水市',
            leaf: true,
            id: 369,
            children: []
          }
        ]
      },
      {
        name: '四川省',
        leaf: false,
        id: 29,
        children: [
          {
            name: '巴中市',
            leaf: true,
            id: 370,
            children: []
          },
          {
            name: '成都市',
            leaf: true,
            id: 371,
            children: []
          },
          {
            name: '德阳市',
            leaf: true,
            id: 372,
            children: []
          },
          {
            name: '广元市',
            leaf: true,
            id: 373,
            children: []
          },
          {
            name: '遂宁市',
            leaf: true,
            id: 374,
            children: []
          },
          {
            name: '资阳市',
            leaf: true,
            id: 375,
            children: []
          },
          {
            name: '绵阳市',
            leaf: true,
            id: 376,
            children: []
          },
          {
            name: '广安市',
            leaf: true,
            id: 377,
            children: []
          },
          {
            name: '达州市',
            leaf: true,
            id: 378,
            children: []
          },
          {
            name: '南充市',
            leaf: true,
            id: 379,
            children: []
          },
          {
            name: '内江市',
            leaf: true,
            id: 380,
            children: []
          },
          {
            name: '宜宾市',
            leaf: true,
            id: 381,
            children: []
          },
          {
            name: '泸州市',
            leaf: true,
            id: 382,
            children: []
          },
          {
            name: '阿坝藏族羌族自治州',
            leaf: true,
            id: 383,
            children: []
          },
          {
            name: '自贡市',
            leaf: true,
            id: 384,
            children: []
          },
          {
            name: '雅安市',
            leaf: true,
            id: 385,
            children: []
          },
          {
            name: '眉山市',
            leaf: true,
            id: 386,
            children: []
          },
          {
            name: '乐山市',
            leaf: true,
            id: 387,
            children: []
          },
          {
            name: '攀枝花市',
            leaf: true,
            id: 388,
            children: []
          },
          {
            name: '凉山彝族自治州',
            leaf: true,
            id: 389,
            children: []
          },
          {
            name: '甘孜藏族自治州',
            leaf: true,
            id: 390,
            children: []
          }
        ]
      },
      {
        name: '吉林省',
        leaf: false,
        id: 30,
        children: [
          {
            name: '白城市',
            leaf: true,
            id: 391,
            children: []
          },
          {
            name: '长春市',
            leaf: true,
            id: 392,
            children: []
          },
          {
            name: '吉林市',
            leaf: true,
            id: 393,
            children: []
          },
          {
            name: '松原市',
            leaf: true,
            id: 394,
            children: []
          },
          {
            name: '辽源市',
            leaf: true,
            id: 395,
            children: []
          },
          {
            name: '延边朝鲜族自治州',
            leaf: true,
            id: 396,
            children: []
          },
          {
            name: '白山市',
            leaf: true,
            id: 397,
            children: []
          },
          {
            name: '通化市',
            leaf: true,
            id: 398,
            children: []
          },
          {
            name: '四平市',
            leaf: true,
            id: 399,
            children: []
          }
        ]
      },
      {
        name: '天津市',
        leaf: true,
        id: 31,
        children: [
        ]
      },
      {
        name: '山西省',
        leaf: false,
        id: 32,
        children: [
          {
            name: '运城市',
            leaf: true,
            id: 401,
            children: []
          },
          {
            name: '临汾市',
            leaf: true,
            id: 402,
            children: []
          },
          {
            name: '太原市',
            leaf: true,
            id: 403,
            children: []
          },
          {
            name: '阳泉市',
            leaf: true,
            id: 404,
            children: []
          },
          {
            name: '朔州市',
            leaf: true,
            id: 405,
            children: []
          },
          {
            name: '忻州市',
            leaf: true,
            id: 406,
            children: []
          },
          {
            name: '晋中市',
            leaf: true,
            id: 407,
            children: []
          },
          {
            name: '吕梁市',
            leaf: true,
            id: 408,
            children: []
          },
          {
            name: '大同市',
            leaf: true,
            id: 409,
            children: []
          },
          {
            name: '长治市',
            leaf: true,
            id: 410,
            children: []
          },
          {
            name: '晋城市',
            leaf: true,
            id: 411,
            children: []
          }
        ]
      },
      {
        name: '云南省',
        leaf: false,
        id: 33,
        children: [
          {
            name: '昭通市',
            leaf: true,
            id: 412,
            children: []
          },
          {
            name: '红河哈尼族彝族自治州',
            leaf: true,
            id: 413,
            children: []
          },
          {
            name: '曲靖市',
            leaf: true,
            id: 414,
            children: []
          },
          {
            name: '怒江傈僳族自治州',
            leaf: true,
            id: 415,
            children: []
          },
          {
            name: '玉溪市',
            leaf: true,
            id: 416,
            children: []
          },
          {
            name: '保山市',
            leaf: true,
            id: 417,
            children: []
          },
          {
            name: '大理白族自治州',
            leaf: true,
            id: 418,
            children: []
          },
          {
            name: '丽江市',
            leaf: true,
            id: 419,
            children: []
          },
          {
            name: '迪庆藏族自治州',
            leaf: true,
            id: 420,
            children: []
          },
          {
            name: '西双版纳傣族自治州',
            leaf: true,
            id: 421,
            children: []
          },
          {
            name: '昆明市',
            leaf: true,
            id: 422,
            children: []
          },
          {
            name: '普洱市',
            leaf: true,
            id: 423,
            children: []
          },
          {
            name: '文山壮族苗族自治州',
            leaf: true,
            id: 424,
            children: []
          },
          {
            name: '楚雄彝族自治州',
            leaf: true,
            id: 425,
            children: []
          },
          {
            name: '临沧市',
            leaf: true,
            id: 426,
            children: []
          },
          {
            name: '德宏傣族景颇族自治州',
            leaf: true,
            id: 427,
            children: []
          }
        ]
      },
      {
        name: '北京市',
        leaf: true,
        id: 34,
        children: [
        ]
      }
    ],
    wxOrganizationTypeObj: { 4: "个体工商户", 2: "企业", 3: "党政、机关及事业单位", 1708: "其他组织" },
    menuPermission: []//菜单显示权限
  },
  mutations: {
    setUserInfo(state, data) {
      state.userInfo = data;
    },
    setMenuPermission(state, data) {
      state.menuPermission = data;
    }
  },
  actions: {},
  modules: {}
})